import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Login from '@/components/Login'
import Register from '@/components/Register'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home,
    },
    {
      path:'/login',component:Login
    },
    { path:'/register',component:Register},
      {
        path: '/rob',
        redirect:'/'
      },
      {
        path: '/play',
        redirect:'/'
      },
      {
        path: '/eat',
        redirect:'/'
      },
      {
        path: '/cease',
        redirect:'/'
      },
      {
        path: '/travel',
        redirect:'/'
      },
      {
        path: '/tour',
        redirect:'/'
      },
      {
        path: '/buy',
        redirect:'/'
      }
  ]
})
